package Iterator
{
	public class UIntCollection implements ICollection
	{
		private var _data:Array;
		public function UIntCollection()
		{
			_data = new Array;
		}
		public function addElement(value:uint):void{
			_data.push(value);
		}
		public function iterator(type:String=null):IIterator
		{
			if(type == "ArrayReverseIterator"){
				return new ArrayReverseIterator(_data);
			}else{
				return new ArrayIterator(_data);
			}
		}
	}
}